﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Yoshizawa
{
    internal class StringRequiredValidator
    {
        public StringRequiredValidator()
        {
        }

        public string Validate(string value)
        {
            if (string.IsNullOrWhiteSpace(value))
            {
                return Properties.Resources.Required;
            }

            return string.Empty;
        }
    }
}
